home *** CD-ROM | disk | FTP | other *** search
- on(rollOver){
- if(_root.enterok != 1)
- {
- _parent._rotation = random(360);
- if(_parent._y > 225)
- {
- _parent._y -= 70 + random(70);
- if(_parent._x > 275)
- {
- _parent._x -= 70 + random(120);
- }
- else
- {
- _parent._x += 70 + random(120);
- }
- }
- else
- {
- _parent._y += 70 + random(70);
- if(_parent._x > 275)
- {
- _parent._x -= 70 + random(120);
- }
- else
- {
- _parent._x += 70 + random(120);
- }
- }
- }
- else if(_root.osama_health > 0)
- {
- _root.stage.osama.b += 1;
- _root.osama_health -= 1;
- ow = random(4);
- if(ow == 1)
- {
- _root.ow1.start();
- }
- else if(ow == 2)
- {
- _root.ow2.start();
- }
- else if(ow == 3)
- {
- _root.ow3.start();
- }
- else
- {
- _root.ow4.start();
- }
- if(_root.difficulty == "hard")
- {
- _root.stage.attachMovie("hardexplosion","hardexplosion",2);
- _root.stage.hardexplosion._x = _root.stage.osama._x;
- _root.stage.hardexplosion._y = _root.stage.osama._y;
- _parent.play();
- }
- else
- {
- _root.stage.attachMovie("doeoxplosion","doeoxplosion",2);
- _root.stage.doeoxplosion._x = _root.stage.osama._x;
- _root.stage.doeoxplosion._y = _root.stage.osama._y;
- _parent.play();
- }
- }
- else
- {
- _parent.gotoAndPlay(40);
- }
- }
-